﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TGDD.master" AutoEventWireup="true" CodeFile="KetQuaTimKiem.aspx.cs" Inherits="KetQuaTimKiem" %>

<%@ Register src="UserControls/TH_ProductList.ascx" tagname="TH_ProductList" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="listItemProduct">
            <div style="float:right;font-size:13px;font-weight:bold;color:#cc0000;padding-bottom:10px;padding-top:10px;padding-right:5px">
		            <p>Có tất cả <asp:Label ID="lblSoSanPham" runat="server" Text=""></asp:Label> sản phẩm được tìm thấy</p>
		    </div>
		    <div class="topProductsz">
                <asp:Repeater ID="repSanPham" runat="server" onitemcommand="repSanPham_ItemCommand" >
		            <ItemTemplate>
    		            <div class="itemProducts">
                            <a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>" onclick="do_add('SelectSanPhamByLoaiSP_NSX.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>');" onmouseover="">
                                <img src="images/products/<%#Eval("HinhMinhHoa") %>" alt="<%#Eval("TenSanPham") %>" width="90" height="90"/>
                            </a>
						    <h3><a href="XemChiTietSanPham.aspx?loaisp=<%#Eval("idLoaiSP") %>&nsx=<%#Eval("idNSX") %>&id=<%#Eval("id") %>"><%#Eval("TenSanPham")%></a></h3>
                            <div style="bottom: 18px; right: 8px; position: absolute; text-align: right; width: 100%;">
                                <h5>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="BuyNow" CommandArgument='<%# Eval("id") %>'>Mua</asp:LinkButton>
                                </h5>
                            </div>
						    <div style="bottom: -10px; position: absolute; text-align: center; width: 100%;">
						        <span style="line-height:1.3em;">Giá: <%# String.Format("{0:#,##0;Nothing}", Eval("Gia"))%> VNĐ</span><BR />
						        &nbsp;&nbsp;&nbsp;<span><br /></span>
						    &nbsp;</div>
                        </div>
		            </ItemTemplate>
		        </asp:Repeater>  
		    </div>
        </div>
        <div style="margin-top:10px; float:right; padding-right:20px;">
		    <asp:Label ID="lblPaging" Runat="server" 
                CssClass="PagingText" Visible="false" /> 
            &nbsp;&nbsp;
            <asp:HyperLink ID="previousLink" Runat="server" 
                CssClass="PagingText" Visible="false" style="cursor:pointer; text-decoration:underline;">Trang truớc</asp:HyperLink>
            &nbsp;&nbsp;
            <asp:HyperLink ID="nextLink" Runat="server" 
                CssClass="PagingText" Visible="false" style="cursor:pointer; text-decoration:underline;">Trang sau</asp:HyperLink><br />
        </div> 
</asp:Content>

